<!DOCTYPE html>
<html>

<!--头文件-->
{include file='head'}
<!--bootstrap分页-->
<link rel="stylesheet" type="text/css" href="{$staticAdmin}dist/css/bootstrap.min.css">

<section class="rt_wrap content mCustomScrollbar">
    <div class="rt_content">
        <div class="page_title">
            <h2 class="fl">商品分类</h2>
            <a href="increase" class="fr top_rt_btn add_icon">添加商品分类</a>
        </div>

        <table class="table" name="tb1" mySite="{$webSite}">
            <tr>
                <!--<th class="center">品牌编号</th>-->
                <th class="center">分类id</th>
                <th class="center">分类名</th>
                <th class="center">分类的级别</th>
                <th class="center">操作</th>
            </tr>

            {foreach $type as $t}
            <tr name="tr1">
                <td class="center">{$t['type_id']}</td>
                <td class="center">{$t['type_name']}</td>
                <td class="center">{$t['type_deepth']}</td>
                <td class="center">
                    <a href="detail?gid={$t['type_id']}" title="编辑" class="link_icon">&#101;</a>
                    <a title="删除" class="link_icon" name="discard" discarder="{$t['type_id']}">&#100;</a>
                </td>

            </tr>
            {/foreach}
        </table>

        <aside class="paging myPage">
            {$typePage}
        </aside>
    </div>
</section>
</body>
</html>
